package com.hncc.kumao.biz.impl;
import com.hncc.kumao.biz.ITransferTaskBiz;
import com.hncc.kumao.dao.ITransferTaskDao;
import com.hncc.kumao.entity.BreakpointUploadTask;
import com.hncc.kumao.entity.TransferTask;
/**
 * 业务逻辑类
 * @author Administrator
 *
 */
public class TransferTaskBiz implements ITransferTaskBiz {

	private ITransferTaskDao transferTaskDao;
	public void setTransferTaskDao(ITransferTaskDao transferTaskDao) {
		this.transferTaskDao = transferTaskDao;
	}
	
	//添加
    public String add(TransferTask transferTask) {
        return transferTaskDao.add(transferTask);
    }
    //根据id获取
    public TransferTask get(String taskId) {
        return transferTaskDao.get(taskId);
    }
    //更新
    public void update(TransferTask transferTask) {
        transferTaskDao.update(transferTask);
    }
}
